<?php defined('SYSPATH') or die('No direct script access.');
/**
 * 扩展 Kohana_View 类
 *
 * @author  Yellow.Chow <aultoale@gmail.com>
 * @version $Id: view.php 11 2012-02-27 03:09:14Z yellow.chow $
 * @license http://www.gnu.org/licenses/gpl-3.0.html    GPL 3
 */
class View extends Kohana_View
{

    /**
     * 快速加载 URI 页面 (HMVC)
     *
     * @param   string  $uri URI of the request
     * @param   Cache   $cache
     * @return  Response
     */
    public static function request($uri = TRUE, HTTP_Cache $cache = NULL, $injected_routes = array())
    {
        return Request::factory($uri, $cache, $injected_routes)->execute();
    }

}